/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};

/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {

/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId])
/******/ 			return installedModules[moduleId].exports;

/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			exports: {},
/******/ 			id: moduleId,
/******/ 			loaded: false
/******/ 		};

/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;

/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}


/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;

/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;

/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "./";

/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {

	module.exports = __webpack_require__(1);


/***/ },
/* 1 */
/***/ function(module, exports, __webpack_require__) {



	__webpack_require__(2);

	/**
	 * dataTable config
	 */
	window.globalDataTablesConfig = {
	    dom: '<"bootstrap-top">rt<"bootstrap-bottom"ipl><"clear">',
	    processing: true, //显示加载ing
	    serverSide: true, //服务器ajax
	    //paging:   false, //分页功能禁止
	    ordering: false, //禁止排序
	    //info: false, //禁止页码信息
	    searching: true, //搜索功能禁止
	    lengthMenu: [
	        [20, 30, 50, 100],
	        [20, 30, 50, 100]
	    ], //分页长度设置

	    //语言配置
	    oLanguage: {
	        sLengthMenu: '显示 _MENU_ 条/页',
	        sInfo: ' _START_ - _END_ , 共 _TOTAL_ 条',
	        sLoadingRecords: '加载中',
	        oPaginate: {
	            sFirst: "第一页",
	            sPrevious: " 上一页 ",
	            sNext: " 下一页 ",
	            sLast: " 最后一页 "
	        },
	        sProcessing: '加载中...',
	        sEmptyTable: '暂无数据',
	        sZeroRecords: '暂无数据',
	        sInfoEmpty: ' 共 _TOTAL_ 条'
	    },
		scrollY: '60vh',
    	scrollX: true,
	    //渲染后的回调
	    drawCallback: function() {
	        if (typeof(util)!="undefined" && util) {
	            util.loading.hide();
	        }

	    }
	};


	$(document).ready(function() {
	    /* 全屏 */
	    function toggleFullScreen() {
	        if ((document.fullScreenElement && document.fullScreenElement !== null) ||
	            (!document.mozFullScreen && !document.webkitIsFullScreen)) {
	            if (document.documentElement.requestFullScreen) {
	                document.documentElement.requestFullScreen();
	            } else if (document.documentElement.mozRequestFullScreen) {
	                document.documentElement.mozRequestFullScreen();
	            } else if (document.documentElement.webkitRequestFullScreen) {
	                document.documentElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
	            }
	        } else {
	            if (document.cancelFullScreen) {
	                document.cancelFullScreen();
	            } else if (document.mozCancelFullScreen) {
	                document.mozCancelFullScreen();
	            } else if (document.webkitCancelFullScreen) {
	                document.webkitCancelFullScreen();
	            }
	        }
	    }
	    $('.toggle-fullscreen').click(function() {
	        toggleFullScreen();
	    });


	    /* 侧边栏 */
	    var parent, ink, d, x, y;
	    // $('.sidebar .accordion-menu li .sub-menu').slideUp(0);
	    // $('.sidebar .accordion-menu li.open .sub-menu').slideDown(0);
	    // $('.small-sidebar .sidebar .accordion-menu li.open .sub-menu').hide(0);
	    $('.sidebar .accordion-menu > li.droplink > a').click(function() {

	        if (!($('body').hasClass('small-sidebar')) && (!$('body').hasClass('page-horizontal-bar')) && (!$('body').hasClass('hover-menu'))) {

	            var menu = $('.sidebar .menu'),
	                sidebar = $('.page-sidebar-inner'),
	                page = $('.page-content'),
	                sub = $(this).next(),
	                el = $(this);

	            menu.find('li').removeClass('open');
	            $('.sub-menu').slideUp(200, function() {
	                sidebarAndContentHeight();
	            });
	            sidebarAndContentHeight();

	            if (!sub.is(':visible')) {
	                $(this).parent('li').addClass('open');
	                $(this).next('.sub-menu').slideDown(200, function() {
	                    sidebarAndContentHeight();
	                });
	            } else {
	                sub.slideUp(200, function() {
	                    sidebarAndContentHeight();
	                });
	            }
	            return false;
	        }
	    });

	    $('.sidebar .accordion-menu .sub-menu li.droplink > a').click(function() {

	        var menu = $(this).parent().parent(),
	            sidebar = $('.page-sidebar-inner'),
	            page = $('.page-content'),
	            sub = $(this).next(),
	            el = $(this);

	        menu.find('li').removeClass('open');
	        sidebarAndContentHeight();

	        if (!sub.is(':visible')) {
	            $(this).parent('li').addClass('open');
	            $(this).next('.sub-menu').slideDown(200, function() {
	                sidebarAndContentHeight();
	            });
	        } else {
	            sub.slideUp(200, function() {
	                sidebarAndContentHeight();
	            });
	        }
	        return false;
	    });

	    /* 登高 */
	    var sidebarAndContentHeight = function() {
	        var content = $('.page-inner'),
	            sidebar = $('.page-sidebar'),
	            body = $('body'),
	            height,
	            footerHeight = $('.page-footer').outerHeight(),
	            pageContentHeight = $('.page-content').height();

	        content.attr('style', 'min-height:' + sidebar.height() + 'px !important');

	        if (body.hasClass('page-sidebar-fixed')) {
	            height = sidebar.height() + footerHeight;
	        } else {
	            height = sidebar.height() + footerHeight;
	            if (height < $(window).height()) {
	                height = $(window).height();
	            }
	        }

	        if (height >= content.height()) {
	            content.attr('style', 'min-height:' + height + 'px !important');
	        }
	    };
	    sidebarAndContentHeight();
	    window.onresize = sidebarAndContentHeight;
	});






/***/ },
/* 2 */
/***/ function(module, exports) {

	// removed by extract-text-webpack-plugin

/***/ }
/******/ ]);